
package com.md.entity;


/**
* ********************************************************
* @ClassName: TestLock
* @Description: InnoDB free: 9216 kB
* @author 自动生成
* @date 2018-05-08 下午 02:06:09 
*******************************************************
*/
@javax.persistence.Entity(name = "TestLock")
@javax.persistence.Table(name = "test_lock")
public class TestLock extends EntityRecord{

	private String hobby;		//
	private String name;		//
	private String remark;		//
	private int version;		//

	@javax.persistence.Column(name = "hobby") 
	public String getHobby() {
		return this.hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	@javax.persistence.Id
	@javax.persistence.Column(name = "id") 
	@javax.persistence.GeneratedValue(generator="uuid")
	@org.hibernate.annotations.GenericGenerator(name="uuid", strategy = "uuid")
	public String getId() {
		return (String) super.getIdentifier();
	}

	public void setId(String id) {
		super.setIdentifier(id);
	}

	@javax.persistence.Column(name = "name") 
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@javax.persistence.Column(name = "remark") 
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@javax.persistence.Version
	@javax.persistence.Column(name = "version") 
	public int getVersion() {
		return this.version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


}

